﻿var myexpress = require("./server/node_modules/express");
var app=myexpress();
var user=require("./server/dao/dao.js");
app.listen("8888",function(){
    console.log("你好，欢迎访问我的服务器");
});
app.configure(function(){
    app.use(myexpress.logger("dev"));
    app.use(myexpress.bodyParser());
    app.use(myexpress.methodOverride());
    app.use(app.router);
    app.use(myexpress.static(__dirname+"/client"));
    app.use(myexpress.errorHandler());
});
app.get("move6.html",function(req,resp){
    console.log("测试");
    resp.render("move6.html",{})
});


app.post("/wenzi.do",user.wenZi);
///*预约制作页面的数据传输*/
//app.post("/yuyuezhizuo.do",user.yuyueZhizuo);
